package com.sanyang.lawyer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: lawyer
 * @description: 个人收入
 * @author: lql
 * @create: 2019-10-10 17:53
 **/
@Data
@TableName(value = "finance_income")
public class Finance_income {

    //个人收入id
    @TableId(value = "financeIncomeId",type = IdType.INPUT)
    private int financeIncomeId;
    //案件id
    @TableField(exist = false)
    private Case_law caseId;
    //收款日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date collectionDate;
    //收款金额
    private Double collectionMoney;
    //备注
    private String remark;
    //创收金额
    private Double creatIncome;
    //实际提成
    private Double actualMoney;
}
